Add 3.16 version macros
authorMatthias Clasen <mclasen@redhat.com>
Tue, 30 Sep 2014 03:33:33 +0000 (23:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 30 Sep 2014 03:56:20 +0000 (23:56 -0400)
gdk/gdkversionmacros.h.in

index 5601b120369419b99c01d8e90f73f1827d33c8f3..df4fe19fe2b7f3107bdc18a849b45231f0f91f52 100644 (file)
  */
 #define GDK_VERSION_3_14        (G_ENCODE_VERSION (3, 14))
 
+/**
+ * GDK_VERSION_3_16:
+ *
+ * A macro that evaluates to the 3.16 version of GDK, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 3.16
+ */
+#define GDK_VERSION_3_16        (G_ENCODE_VERSION (3, 16))
+
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
  */
 # define GDK_AVAILABLE_IN_3_14                _GDK_EXTERN
 #endif
 
+#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_16
+# define GDK_AVAILABLE_IN_3_16                GDK_UNAVAILABLE(3, 16)
+#else
+# define GDK_AVAILABLE_IN_3_16                _GDK_EXTERN
+#endif
+
 #endif  /* __GDK_VERSION_MACROS_H__ */